GasPointer = Pointer.extend({
	isOpen:false,
	ctor:function (fileName, rect, rotated) {
		this._super(fileName, rect, rotated);
		isOpen = false;
		this.init();
	},
	turn_in_gas:function(duration,degree,teach_flow){
		if(!isOpen){
			this.isOpen = true;
		} else {
			this.isOpen = false;
		}
		synch_listener = false;
		this.runAction(cc.sequence(cc.rotateBy(duration, degree),cc.callFunc(this.checkActionDone, this, teach_flow)));
	},
	checkActionDone:function(data, teach_flow){
		synch_listener = true;
		teach_flow.next();
	}
});